﻿using Messhall.Framework.Domain;
using Messhall.Framework.Domain.DomainObject;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Messhall.Domain.System.BusinessObjects
{
    public class UserOperateObject : EntityBoBase
    {
        #region 成员变量

        /// <summary>
        /// 用户Id
        /// </summary>
        public Guid UserKeyId { get; private set; }

        /// <summary>
        /// 操作类型
        /// </summary>
        public short Type { get; private set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; private set; }

        #endregion

        public UserOperateObject(Guid userKeyId, short type, string remarks)
        {
            this.UserKeyId = userKeyId;
            this.Type = type;
            this.Remarks = remarks;
        }

        public void SetUserKeyId(Guid userKeyId)
        {
            this.UserKeyId = userKeyId;
        }

        public void SetType(short type)
        {
            this.Type = type;
        }

        public void SetRemarks(string remarks)
        {
            this.Remarks = remarks;
        }

    }
}
